$.ajax({
    url: "findHeaderIconServlet",
    dataType: "json",
    type: "post",
    success: function (icons) {
        for (var i = 0; i < icons.length; i++) {
            var path = icons[i].path;
            var name = icons[i].name;
            var $b = "<li class=\"position-list__item home-channel__red--point\" " +
                "style=\"width: 15%;\"><a title=\"" + name + "\" href=\"/ys/obc/content/501259/detail?bbs_presentation_style=no_header\">" +
                "<img alt=\"\" class=\"position-list__icon\" " + "data-src=\"https://act-upload.mihoyo.com/wiki-user-upload/2024/04/25/31153611/45e3d462ecfdad64d499f8fc05b67bf0_182330144686640240.png?x-oss-process=image/quality,q_75/resize,s_108\" " +
                "src=\"image/"+path+"\" lazy=\"loaded\"> " +
                "<span class=\"position-list_title_inside\">" + name + "</span></a> <!----> <div class=\"red-point\"><!----></div></li>"
            $("#icon").append($b);
        }
        $("#icon>li:nth-of-type(1),li:nth-of-type(7),li:nth-of-type(13)").addClass(" position-list__item--first")
    }
});



